namespace SimpleWebServices.Web.Routing
{
    using System.Web;
    using System.Web.Mvc;
    using System.Web.Routing;
    using SimpleWebServices.Web.Mvc;

    public sealed class GenericRouteHandler<T> : IRouteHandler
        where T : ControllerBase
    {
        public IHttpHandler GetHttpHandler(RequestContext requestContext)
        {
            return new GenericMvcHandler<T>(requestContext);
        }
    }
}